package com.neusoft.elm.dao;

import java.io.InputStream;
import com.neusoft.elm.po.User;

public interface UserDao {
	public User getUserByIdByPass(String userId, String password) throws Exception;

	public int getUserById(String userId) throws Exception;

	public int saveUser(User user) throws Exception;
	
	public int updateUserPassword(String userId, String Newpassword) throws Exception;
	
	public int updateUserAvatar(String userId, String avatarPath) throws Exception;
}